package com.cskaoyan.day03.generic5;

/**
 * @author stone
 * @date 2022/01/29 10:19
 */
public class MysteryBox<T> {
    int id;
    T value;

    public MysteryBox() {
    }

    public MysteryBox(int id, T value) {
        this.id = id;
        this.value = value;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public T getValue() {
        return value;
    }

    public void setValue(T value) {
        this.value = value;
    }
}
